package org.jeecg.modules.zhibiao.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.system.entity.SysCategory;
import org.jeecg.modules.system.model.TreeSelectModel;
import org.jeecg.modules.zhibiao.entity.CaiwuZhibiao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Description: caiwu_zhibiao
 * @Author: jeecg-boot
 * @Date:   2020-06-10
 * @Version: V1.0
 */
public interface CaiwuZhibiaoMapper extends BaseMapper<CaiwuZhibiao> {

    List<TreeSelectModel> listZhibiao(@Param("deptId") String deptId, @Param("categoryPid") String categoryPid);

    List<TreeSelectModel> loadAllData(@Param("deptId")String deptId, @Param("code")String code);
}
